package cn.wuyi.common.rest;


import java.io.Serializable;

public class Result<T> implements Serializable{
	
	/**
	 * @Fields serialVersionUID | long
	 */
	private static final long serialVersionUID = 633789249350255438L;

	/**
	 * 返回结果状态码
	 */
	private String status;
	
	/**
	 * 返回结果提示信息
	 */
	private String msg;
	
	/**
	 * 返回结果数据
	 */
	private T data;

	public Result() {
		super();
	}

	public Result(String status, String msg) {
		super();
		this.status = status;
		this.msg = msg;
	}

	public Result(T data,String status, String msg) {
		super();
		this.data = data;
		this.status = status;
		this.msg = msg;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}
	
}
